package com.pokeoffice.users;

import java.sql.Connection;
import java.util.List;

import com.pokeoffice.medical.Treatment;



/**
 * The Class Admin.
 */
public class Admin extends User {
	
	/** The ID. */
	private long ID = 0;
	
	/** The connection. */
	private Connection connection = null;
	
	/** The user type. */
	private UserType userType = null;
	
	/** The name. */
	private String name = "";
	
	/** The birthdate. */
	private String birthdate = "";
	
	/** The gender. */
	private String gender = "";
	
	/** The phone. */
	private String phone = "";
	
	/** The city. */
	private String city = "";
	
	/** The region. */
	private String region = "";

	/** The pharmacy. */
	private String pharmacy = "";
	
	/** The treatment. */
	private String treatment = "";
	
	/** The insurance. */
	private String insurance = "";
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getID()
	 */
	public Long getID() {
		return ID;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setID(long)
	 */
	public void setID(long iD) {
		ID = iD;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getConnection()
	 */
	public Connection getConnection() {
		return connection;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setConnection(java.sql.Connection)
	 */
	public void setConnection(Connection connection) {
		this.connection = connection;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getUserType()
	 */
	public UserType getUserType() {
		return userType;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setUserType(com.pokeoffice.users.UserType)
	 */
	public void setUserType(UserType userType) {
		this.userType = userType;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getName()
	 */
	public String getName() {
		return name;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setName(java.lang.String)
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getBirthdate()
	 */
	public String getBirthdate() {
		return birthdate;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setBirthdate(java.lang.String)
	 */
	public void setBirthdate(String birthdate) {
		this.birthdate = birthdate;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getGender()
	 */
	public String getGender() {
		return gender;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setGender(java.lang.String)
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getPhone()
	 */
	public String getPhone() {
		return phone;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setPhone(java.lang.String)
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getCity()
	 */
	public String getCity() {
		return city;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setCity(java.lang.String)
	 */
	public void setCity(String city) {
		this.city = city;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getRegion()
	 */
	public String getRegion() {
		return region;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setRegion(java.lang.String)
	 */
	public void setRegion(String region) {
		this.region = region;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getPharmacy()
	 */
	public String getPharmacy() {
		return pharmacy;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setPharmacy(java.lang.String)
	 */
	public void setPharmacy(String pharmacy) {
		this.pharmacy = pharmacy;
	}
	
	/**
	 * Gets the treatment.
	 *
	 * @return the treatment
	 */
	public String getTreatment() {
		return treatment;
	}
	
	/**
	 * Sets the treatment.
	 *
	 * @param treatment the new treatment
	 */
	public void setTreatment(String treatment) {
		this.treatment = treatment;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#getInsurance()
	 */
	public String getInsurance() {
		return insurance;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#setInsurance(java.lang.String)
	 */
	public void setInsurance(String insurance) {
		this.insurance = insurance;
	}
	
	// Calculated methods
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#record()
	 */
	public List<Treatment> record() {
		return null;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#record(java.lang.String)
	 */
	public List<Treatment> record(String date) {
		return null;
	}
	
	/* (non-Javadoc)
	 * @see com.pokeoffice.users.User#record(java.lang.String, java.lang.String)
	 */
	public List<Treatment> record(String startDate, String endDate) {
		return null;
	}
}
